* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 500px;
}

.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

h1 {
    font-size: 24px;
    color: #ff5252;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.textarea-container {
    margin-bottom: 20px;
    text-align: left;
}

.textarea-container label {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    display: inline-block;
}

textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    color: #333;
    background-color: #f9f9f9;
}

.license-key {
    height: 180px;
}

textarea:focus {
    outline: none;
    border-color: #007bff;
    background-color: #fff;
}

#machine-code {
    background-color: #eee;
    color: #888;
    cursor: not-allowed;
}

.submit-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* 联系信息的样式 */
.contact-info {
    margin-top: 30px;
    font-size: 14px;
    color: #777;
    text-align: left;
}

.contact-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 8px;
}

.instructions {
    font-size: 16px;
    color: #777;
    text-align: left;
}

.copy-btn {
    margin-top: 10px;
    background-color: #5cb85c;
    margin-bottom: 0px;
}

.copy-btn:hover {
    background-color: #4cae4c;
}

.license-tips {
    font-weight: bold;
}

.error-message {
    color: #d9534f;
    margin-bottom: 5px;
    font-size: 14px;
    text-align: left;
}

.error-message p {
    color: red;
    margin: 5px 0;
}
.license-code{
    height: 150px;
}